package com.example.demo.mapper;

import com.example.demo.entity.UpVoteinfo;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:龙宝
 * Date:2023-04-10
 * Time:20:31
 */
@Mapper
public interface UpvoteMapper {
    int upvote(UpVoteinfo upVoteinfo);
    UpVoteinfo haveVote(Integer artid,Integer userid);
    int upvoteState(Integer id,Integer state);
    int voteCount(Integer artid);
}
